//
//  ProductCell.m
//  SAT_NET
//
//  Created by lanou3g on 16/3/6.
//  Copyright © 2016年 郭丹. All rights reserved.
//

#import "ProductCell.h"

@implementation ProductCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addAllViews];
    }
    return self;
}

- (void)addAllViews {
    
    self.imageV = [[UIImageView alloc] initWithFrame:CGRectMake(10, 7, 80, 30)];
    [self addSubview:self.imageV];
    
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(120, 12, 80, 20)];
    self.label.font = [UIFont systemFontOfSize:15];
    [self addSubview:self.label];
    
    
}






- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
